package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.CommonFailures;

import java.util.List;
import java.util.Map;

public interface CommonFailuresService {

    public CommonFailures getCommonFailuresById(String id) throws Exception;

    public List<CommonFailures> getCommonFailuresListByMap(Map<String, Object> param) throws Exception;

    public Integer getCommonFailuresCountByMap(Map<String, Object> param) throws Exception;

    public Integer addCommonFailures(CommonFailures commonFailures) throws Exception;

    public Integer modifyCommonFailures(CommonFailures commonFailures) throws Exception;

    public Integer deleteCommonFailuresById(String id) throws Exception;

    public Page<CommonFailures> queryCommonFailuresPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
